<template>
	<view class="index-page">
		<loading v-show="loading"></loading>
		<indexCom v-show="!loading" @setLoading='setLoading'></indexCom>
		<tabBar :selected='4'></tabBar>
	</view>
</template>

<script>
	// 加载组件 && 加载混合剂
	import loading from '@/components/custom/loading.vue'
	import {
		loadingMixin
	} from '@/mixins/loading'

	// 底部导航栏
	import tabBar from '@/components/custom/tabBar.vue'

	// 主要布局
	import indexCom from '@/components/index/index.vue'

	import {
		getUserProfile
	} from '@/scripts/compatible/weixinUserProfile.js'

	export default {
		mixins: [loadingMixin],
		components: {
			tabBar,
			loading,
			indexCom,
		},
		data() {
			return {

			}
		},
		mounted() {},
		methods: {}
	}
</script>